var submitForm = ''
$(window).ready(initValidate);
function initValidate(){
	submitForm = $('#submitForm')[0];
	if(null == submitForm){
	    return;
	}
	submitForm.validators = new Array();
	var inputEl = $.find('select[name=regionalprice.regionId]')[0];
	submitForm.validators.push(new NullValidator(inputEl, "区域不能为空",$('#errorInfo')[0],true));
	inputEl = $.find('input[name=regionalprice.channelPrice]')[0];
	submitForm.validators.push(new NullValidator(inputEl, "渠道价格不能为空",$('#errorInfo')[0],true));
}
function doValidate(event){
	formSubmitRequest(event,submitForm);
}
